<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        @keyframes secondrun {
            0%{
                transform: rotate(180deg);
            }
            100%{
                transform: rotate(540deg);
            }
        }
        @keyframes minuterun {
            0%{
                transform: rotate(180deg);
            }
            100%{
                transform: rotate(540deg);
            }
        }
        div.clock{
            position: relative;
            width: 512px;
            height: 512px;
            background-image: url(clock.png);
            background-size: cover;
            background-repeat: no-repeat;

        }
        div.second{
            position: absolute;
            width: 16px;
            height: 278px;
            left: 246px;
            top: 180px;
            background-image: url(second.png);
            background-size: cover;
            background-repeat: no-repeat;
            z-index: 3;
            transform-origin: center 76px;
            transform: rotate(180deg);

            animation: secondrun 60s steps(60,end) infinite ;

        }
        div.minute{
            position: absolute;
            width: 32px;
            height: 218px;
            transform-origin: center 16px;

            left: 238px;
            top: 240px;
            background-image: url(minute.png);
            background-size: cover;
            background-repeat: no-repeat;
            transform: rotate(180deg);
            z-index: 2;
            animation: minuterun 3600s steps(60,end) infinite;

        }
        div.hour{
            position: absolute;
            width: 32px;
            height: 148px;
            left: 238px;
            transform-origin: center 16px;

            top: 240px;
            background-image: url(hour.png);
            background-size: cover;
            background-repeat: no-repeat;
            z-index: 1;

        }
    </style>
</head>
<body>
    <div class="clock">
        <div class="second"></div>
        <div class="minute"></div>
        <div class="hour"></div>
    </div>
</body>
</html>